﻿using System.Data.Entity.ModelConfiguration;
using EraNet.Core.Model.Account;

namespace EraNet.Data.Mapping
{
    public partial class AdminMemberMap : EntityTypeConfiguration<AdminMember>
    {
        public AdminMemberMap()
        {
            this.ToTable("Sys_AdminMember");
            this.HasKey(a => a.Id);
            this.Property(a => a.AccountName).IsRequired();
        }
    }
}
